projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc35add
)
driver: net: ldpaa_eth: Fix missing bracket issue
author
Priyanka Jain
<
[email protected]
>
Thu, 3 Nov 2016 12:35:09 +0000
(18:05 +0530)
committer
York Sun
<
[email protected]
>
Mon, 21 Nov 2016 17:20:32 +0000
(09:20 -0800)
Signed-off-by: Priyanka Jain <
[email protected]
>
Signed-off-by: Prabhakar Kushwaha <
[email protected]
>
Signed-off-by: Ashish Kumar <
[email protected]
>
Acked-by: Joe Hershberger <
[email protected]
>
Reviewed-by: York Sun <
[email protected]
>
drivers/net/ldpaa_eth/ldpaa_eth.c
patch
|
blob
|
history
diff --git
a/drivers/net/ldpaa_eth/ldpaa_eth.c
b/drivers/net/ldpaa_eth/ldpaa_eth.c
index 75b2b6b04966bbdb2e9dc3fedba04a4204858e3a..4e61700d5d11423ab67402f22d8407194d850450 100644
(file)
--- a/
drivers/net/ldpaa_eth/ldpaa_eth.c
+++ b/
drivers/net/ldpaa_eth/ldpaa_eth.c
@@
-420,13
+420,14
@@
static int ldpaa_eth_open(struct eth_device *net_dev, bd_t *bd)
goto err_dpmac_setup;
#ifdef CONFIG_PHYLIB
- if (priv->phydev)
+ if (priv->phydev)
{
err = phy_startup(priv->phydev);
if (err) {
printf("%s: Could not initialize\n",
priv->phydev->dev->name);
goto err_dpamc_bind;
}
+ }
#else
priv->phydev = (struct phy_device *)malloc(sizeof(struct phy_device));
memset(priv->phydev, 0, sizeof(struct phy_device));